import requests from '@/utils/requests'

// 登录信息
export const loginInfo = (data) => requests({ url: '/user', method: 'GET', params: data })

// 注册信息
export const registerInfo = (data) => requests({ url: '/user', method: 'POST', data })

// 获取用户信息
export const billInfon = () => requests({ url: '/bill', method: 'GET' })

// 修改信息
export const modifyBill = (data) => requests({ url: '/bill', method: 'PATCH', data })

// 登录接口
export const login = (data) => requests({ url: '/bill', method: 'POST', data })
